package com.jintian.smart.kernel.core.web;

import java.lang.annotation.*;

/**
 * Rest响应封装
 */
@Retention(RetentionPolicy.RUNTIME)
@Target({ ElementType.TYPE, ElementType.METHOD })
@Documented
public @interface RestResultWrapper {

	/**
	 * 响应封装器的beanName
	 * 
	 * @return
	 */
	String wrapperRef() default "defaultWrapper";

	/**
	 * 哪些类不封装
	 * 
	 * @return
	 */
	Class<?>[] excludeClasses() default {};

	/**
	 * 哪些类不封装
	 * 
	 * @return
	 */
	String[] excludeClassNames() default {};
}
